import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 保养计划*/
export const machineManagerUpkeepPersonnelCreate = (data) => postRequest('/machinemanager/upkeep-personnel/create', data);
export const machineManagerUpkeepPersonnelUpdate = (data) => putRequest('/machinemanager/upkeep-personnel/update', data);
export const machinemanagerMachineInspectionItemUpdate = (data) => putRequest('/machinemanager/machine-inspection-item/update', data);

export const machineManagerUpkeepPersonnelDelete = (params) => deleteRequest('/machinemanager/upkeep-personnel/delete', params);
export const machineManagerUpkeepPersonnelGet = (params) => getRequest('/machinemanager/upkeep-personnel/get', params);
export const machineManagerUpkeepPersonnelPage = (params) => getRequest('/machinemanager/upkeep-personnel/page', params);
